<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link type="text/css" rel="stylesheet" href="${static_url}/ui/app/assets/js/plugin/laydate/need/laydate.css">
<link type="text/css" rel="stylesheet" href="${static_url}/ui/app/assets/js/plugin/laydate/skins/danlan/laydate.css">
<script type="text/javascript" src="${static_url}/ui/app/assets/js/plugin/laydate/laydate.js"></script>
<input type="text" name="${param.name}" id="laydate_ui"  value="${param.value}" class="${param.class}"
       readonly="readonly"
       data-rule="required;"
       data-msg-required="请输入商品房龄年代"
       data-ok=""
       data-target="#buildYear-msg">
<label id="buildYear-msg"></label>
<script>
    laydate({
        elem: '#laydate_ui', //目标元素。由于laydate.js封装了一个轻量级的选择器引擎，因此elem还允许你传入class、tag但必须按照这种方式 '#id .class'
        event: 'focus' //响应事件。如果没有传入event，则按照默认的click
    });
</script>